﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>Jasmine Test Runner</title>

    <link href="../../css/jasmine.css" rel="stylesheet" />

    <!-- ClientGlobalContext will be provided by the Dynamics CRM runtime -->
    <script src="../../../ClientGlobalContext.js.aspx"></script>
    <script src="../../libraries/q.min.js"></script>
    <script src="../../modules/CrmRestKit.3.x.js"></script>
    
    <script src="../../libraries/jasmine.js"></script>
    <script src="../../libraries/jasmine_html.js"></script>
    <script src="../integration/CrmRestKitIntegrationSpec.js"></script>

    <script type="text/javascript">
        ( function () {
            
            var jasmineEnv = jasmine.getEnv();
            jasmineEnv.updateInterval = 1000;

            var htmlReporter = new jasmine.HtmlReporter();

            jasmineEnv.addReporter( htmlReporter );

            jasmineEnv.specFilter = function ( spec ) {
                return htmlReporter.specFilter( spec );
            };

            var currentWindowOnload = window.onload;

            window.onload = function () {
                if ( currentWindowOnload ) {
                    currentWindowOnload();
                }
                execJasmine();
            };

            function execJasmine() {
                jasmineEnv.execute();
            }

        } )();
  </script>
</head>
<body>

</body>
</html>
